export const sessionStorageSet = (key: string, value: any) => {
  if (typeof value === 'object') value = JSON.stringify(value);
  window.sessionStorage.setItem(key, value);
};

export const sessionStorageGet: any = (key: string) => {
  return window.sessionStorage.getItem(key);
};

export const sessionStorageRemove = (key: string) => {
  window.sessionStorage.removeItem(key);
};
